dompdf is an HTML to PDF converter.
At its heart, dompdf is (mostly) a CSS 2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes.
The Awesome Document Factory.
WeasyPrint is a smart solution helping web developers to create PDF documents. It’s free and open source software that can be easily plugged to your applications and websites and turns simple HTML pages into gorgeous:
WeasyPrint is a smart solution helping web developers to create PDF documents. It turns simple HTML pages into reports, invoices or tickets.